<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript">
        setInterval(function () {
            var img = $("<img width='200px' src='../../1903Web/imgs/5.jpg'>");
            $("body").append(img)
            img.css("position","absolute");
            var top = parseInt(Math.random()*1000);
            img.css("top",top+"px");
            //让图片往右侧移动1000个像素1秒移动完
            img.animate({"left":"1150px"},1000).fadeOut(1000,function () {
                img.remove()
            })
        },100)
    </script>
</head>
<body>

</body>
</html>